    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.1.min.js"><\/script>')</script>

        <script src="/OnlineResortReservation/adminpages/js/vendor/bootstrap.min.js"></script>
		<script src="js/nicEdit.js"></script><!-- including nicedit js-->
        <script src="js/main.js"></script>
        <script src="js/jquery.validate.min.js"></script>
        <script type="text/javascript">

			$(document).ready(function() {

				 // form validation
				 $("#add-membership-type").validate();

            });

			bkLib.onDomLoaded(function() { //assigning nicedit to textarea
					new nicEditor({fullPanel : true,iconsPath : 'js/nicEditorIcons.gif',xhtml: true}).panelInstance('description');
				});

        </script>

                   <div class="box">

                        <legend>
                           Add New Membership Type
                        </legend>

                       <form id="add-membership-type"  method="post">

                        <div class="span6">

                        	<p>
                            	<label for="membership-type-name">Membership Type Name</label>
                                <input type="text" required name="membership-type-name" id="membership-type-name" class="input-xlarge" placeholder="Enter name of Membership Type">
                            </p>

                            <p class="input-prepend input-append">
                            	<label for="membership-time" >Membership Time Period</label>
                                <span class="add-on">Months.</span><input type="number" name="membership-time" id="membership-time" required class="input-medium" placeholder="Membership Period">
                            </p>
                            <br>

                        </div>

                        <div class="span4 offset1">

                        	<p class="input-prepend input-append">
                            	<label for="membership-fees" >Membership Fees</label>
                                <span class="add-on">Rs. </span><input type="number" name="membership-fees" id="membership-fees" required class="input-medium" placeholder="Membership Fees">
                            </p>
                            <br>

                            <p class="input-prepend input-append">
                            	<label for="discount" >Discount To Be Given</label>
                                <span class="add-on">%. </span><input type="number" name="discount" id="discount" required class="input-medium" placeholder="Discount">
                            </p>

                            <br>


                        </div>

                        <div class="clearfix"></div>

                        <div class="span11">


                            <p class="textarea-nice">
                            	<label for="description" >Membership Description</label>
                                <textarea name="description" class="input-block-level" id="description" required rows="6" > </textarea>
                            </p>


                            <p>
                             	<label class="checkbox">
                                <input type="checkbox" name="status" id="status"> Check the box to make the Membership Active.
                                </label>

                            </p>

                            <p>
                            	<input type="submit" class="btn btn-primary btn-large" id="addmembershiptypesavebutton" value="Save" name="submit">
                            </p>
                            <p>
                                <!-- <label class="text-success"> Display the "succesfully saved" message here on successfull submission</label> -->
                            </p>

                        </div>

                        <div class="clearfix"></div>

                            </form>

				</div>
